home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: Subviews
- Sent: 6/3/96 6:10 PM
- Received: 6/3/96 6:22 PM
- From: John Casey, jcasey@ncs-ssc.com
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- >There are no limit to the number of embedded views in ODF. What Laurent
- >was refering to, I think, is the 'limitation' we have in ODF with
- >scrollers. You can have only one scrolling region in a frame: means you
- >can have only one scroller per frame. If you need to have two views
- >scrolling (not synchronized) you need to have two frames. This is due to
- >the fact that the ODF scroller uses the frame's internal transform, and
- >there is only one internal tranform per frame.
-
- We currently have a design that requires three content areas. Two of
- these areas require scrolling "views"; whereas, the third is a fixed
- "view." From the previous comments, I assume that I have two options:
-
- (1) Create a part for each content area.
-
- Unfortunately, our customer has placed memory constraints on our product
- that prohibit us from taking this approach.
-
- (2) Let the part create multiple frames at the root level.
-
- I have briefly attempted this approach. If this is a valid approach:
-
- (a) How do you get OpenDoc to create multiple default presentation
- frames? If you can only have one default presentation frame, what method
- do you subclass to get your part to construct the multiple frames upon
- launch of the part?
-
- (b) How can you position scrolling frames within the window? If you call
- SetLocation, ODF barks at you! Whenever I attempted various methods to
- position the scrolling view at a location other than 0,0 in the Frame
- Layout resource, then I get a various forms of scroller wierdness.
-
- Does anyone have an example of using multiple scrolling frames within a
- window? If not, does anyone have an example of using multiple frames
- within a window with different offsets?
-
-
- ========================================================================
- John Casey email: jcasey@ncs-ssc.com
- Vice President web: http://www.ncs-ssc.com
- Nation Computer Services voice: (804) 378-8917
- fax: (601) 689-8130
- ========================================================================
-